package com.dingreading.cloud.admin.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(20)
@ContentRowHeight(20)
@ColumnWidth(17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 11)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ShopCartAndOutGoodsVo implements Serializable {

    @ExcelProperty(value = "门店类型")
    private String selfStatus;

    @ExcelProperty(value = "订单类型")
    private String projectName;

    @ColumnWidth(20)
    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ColumnWidth(20)
    @ExcelProperty(value = "订单号")
    private String code;

    @ExcelProperty(value = "下单人")
    private String staffName;

    @ExcelProperty(value = "收货地址")
    private String address;

    @ExcelProperty(value = "订单金额")
    private Double price;

    @ColumnWidth(20)
    @ExcelProperty(value = "代金券抵扣金额")
    private Double couponPrice;

    @ExcelProperty(value = "实际支付金额")
    private Double payPrice;

    @ColumnWidth(20)
    @ExcelProperty(value = "支付时间")
    private String payTime;

    @ExcelProperty(value = "支付类型")
    private String payType;

    @ExcelProperty(value = "订单状态")
    private String statusName;

    @ColumnWidth(20)
    @ExcelProperty(value = "商品名称")
    private String goodsName;

    @ColumnWidth(20)
    @ExcelProperty(value = "商品规格名称")
    private String goodsTypeName;

//    @ExcelProperty(value = "商品单价")
//    private Double goodsUnitPrice;
//
//    @ExcelProperty(value = "商品总价")
//    private Double goodsPrice;

    @ExcelProperty(value = "购买数量")
    private Integer buyNum;

    @ExcelProperty(value = "出库数量")
    private Integer outNum;

    @ExcelProperty(value = "商品状态")
    private String goodsStatusName;

    @ExcelProperty(value = "商品金额")
    private Double goodsPrice;

    @ExcelProperty(value = "入库金额")
    private Double inPrice;

    @ExcelProperty(value = "出库金额")
    private Double outPrice;


}
